﻿#ifndef LK_WINDOWS_UI_EVENTARGS_
#define LK_WINDOWS_UI_EVENTARGS_
namespace LK
{
	namespace Windows
	{
		namespace UI
		{
			/**
			@brief 按键值*/
			struct Keys
			{
				static const DWORD FX[];
				static const DWORD F1 = VK_F1;
				static const DWORD F2 = VK_F2;
				static const DWORD F3 = VK_F3;
				static const DWORD F4 = VK_F4;
				static const DWORD F5 = VK_F5;
				static const DWORD F6 = VK_F6;
				static const DWORD F7 = VK_F7;
				static const DWORD F8 = VK_F8;
				static const DWORD F9 = VK_F9;
				static const DWORD F10 = VK_F10;
				static const DWORD F11 = VK_F11;
				static const DWORD F12 = VK_F12;
				static const DWORD Up = VK_UP;
				static const DWORD Down = VK_DOWN;
				static const DWORD Left = VK_LEFT;
				static const DWORD Right = VK_RIGHT;
			};
			/**
			@brief 按键事件参数*/
			struct KeyEventArgs
			{
				/**
				@brief 是否曾按下Alt键*/
				bool Alt;
				/**
				@brief 是否曾按下Ctrl键*/
				bool Control;
				/**
				@brief 是否曾按下Shift键*/
				bool Shift;
				/**
				@brief 是否已处理*/
				bool Handled;
				/**
				@brief 按键值*/
				DWORD KeyValue;
				/**
				@brief 重复次数*/
				DWORD RepeatCount;
			};
		}
	}
}
#endif